package util;

import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;

public class Memory {
	public final static int SIZE_FLOAT = 4;
	
	public static FloatBuffer floatBuffer(int size){
		return ByteBuffer.allocateDirect(size * SIZE_FLOAT).order(ByteOrder.nativeOrder()).asFloatBuffer();
	}
}
